package com.card.manager.controller;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class MainController {

	@RequestMapping("/main")// url映射的名称
	public ModelAndView main(HttpServletRequest request,HttpSession session,HttpServletResponse response){
		List<?> list = null;
		return new ModelAndView("welcome","resultList",list);
	}
}